package com.hyjx.framework.component.interfaceservice.dataservice;
import java.util.List;

import com.hyjx.framework.orm.IBaseModel;

/**
 * 	数据服务实体
*/
public class DataServiceModel implements IBaseModel{
	private String srvid;//服务ID
	private String srvname;//服务名称
	private String srvtype;//服务类型
	private String querysql;//查询SQL
	private String brief;//简介
	private String interfacedesc;//接口说明
	private String validity;//服务是否有效
	private String datasource;//该服务所连接的数据源
	
	
	public String getDatasource() {
		return datasource;
	}
	public void setDatasource(String datasource) {
		this.datasource = datasource;
	}

	private List<SrvConditionModel> list;

	public String getValidity() {
		return validity;
	}
	public void setValidity(String validity) {
		this.validity = validity;
	}
	public List<SrvConditionModel> getList() {
		return list;
	}
	public void setList(List<SrvConditionModel> list) {
		this.list = list;
	}
	public void setSrvid(String srvid){
		this.srvid = srvid;
	}
	public String getSrvid(){
		return this.srvid;
	}
	public void setSrvname(String srvname){
		this.srvname = srvname;
	}
	public String getSrvname(){
		return this.srvname;
	}
	public void setSrvtype(String srvtype){
		this.srvtype = srvtype;
	}
	public String getSrvtype(){
		return this.srvtype;
	}
	public void setQuerysql(String querysql){
		this.querysql = querysql;
	}
	public String getQuerysql(){
		return this.querysql;
	}
	public void setBrief(String brief){
		this.brief = brief;
	}
	public String getBrief(){
		return this.brief;
	}
	public void setInterfacedesc(String interfacedesc){
		this.interfacedesc = interfacedesc;
	}
	public String getInterfacedesc(){
		return this.interfacedesc;
	}
	
	@Override
	public String getModuleName() {
		return "com.hyjx.framework.component.interfaceservice.dataservice";
	}
	
}